import request from '@/utils/request'

// 查询运费报价核算列表
export function listFreightQuotationAccounting(query) {
  return request({
    url: '/ys/freightQuotationAccounting/list',
    method: 'get',
    params: query
  })
}

// 查询运费报价核算详细
export function getFreightQuotationAccounting(id) {
  return request({
    url: '/ys/freightQuotationAccounting/' + id,
    method: 'get'
  })
}

// 新增运费报价核算
export function addFreightQuotationAccounting(data) {
  return request({
    url: '/ys/freightQuotationAccounting',
    method: 'post',
    data: data
  })
}

// 修改运费报价核算
export function updateFreightQuotationAccounting(data) {
  return request({
    url: '/ys/freightQuotationAccounting',
    method: 'put',
    data: data
  })
}

// 删除运费报价核算
export function delFreightQuotationAccounting(id) {
  return request({
    url: '/ys/freightQuotationAccounting/' + id,
    method: 'delete'
  })
}
